package io.renren.modules.title.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName ExamOptions
 * @Author mengjiafeng
 * @Date 2019/9/4 10:21
 **/

/**
 * 题目选项
 */
@Data
@TableName("exam_options")
public class ExamOptions {
    @TableId
    private int id;
    @NotBlank(message="题目id不能为空")
    private int qid;
    @NotBlank(message="选项内容不能为空")
    private String contant;
    private String prefix;
}
